-- card: 10513 from stack: in -- bmap block id: 10873 -- flags: 4000 -- background id: 7338 -- name: Sector of a Sphere ----- HyperTalk script ----- on mouseUp set numberFormat to <0.000000> --Calculate Sector Area get (pi*card field "Radius")*((2*card field "Height")+ card field "Radius r1") put it into card field "Sector Area" --Calculate Sector Volume get (2/3)*pi*card field "Radius"^2*card field "Height" put it into card field "Sector Volume" end mouseUp -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=312 top=96 right=114 bottom=459 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Radius -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=312 top=119 right=137 bottom=459 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Height -- part 3 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=312 top=143 right=161 bottom=459 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Radius r1 -- part 4 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=206 right=225 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Sector Area -- part 5 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=245 right=264 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Sector Volume -- part contents for card part 1 ----- text ----- .500000 -- part contents for card part 2 ----- text ----- .250000 -- part contents for card part 3 ----- text ----- .125000 -- part contents for card part 4 ----- text ----- 0.981748 -- part contents for card part 5 ----- text ----- 0.130900